import java.util.PriorityQueue;

public class E29_QueueObject {

	public static void main(String[] args) {
		PriorityQueue<Dummy> priorityQueue = new PriorityQueue<Dummy>();
		System.out.println("Adding 1st instance...");
		priorityQueue.offer(new Dummy());
		System.out.println("Adding 2nd instance...");
		priorityQueue.offer(new Dummy());
	}

}

class Dummy {

}
